<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaCreateOrderPreviewParam/ComAlibabaOceanOpenplatformBizTradeCommonModelTradeService.class.php');

class ComAlibabaOceanOpenplatformBizTradeCommonModelTradeServiceGroup extends SDKDomain {

       	
    private $outId;
    
        /**
    * @return id
    */
        public function getOutId() {
        return $this->outId;
    }
    
    /**
     * 设置id     
     * @param String $outId     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setOutId( $outId) {
        $this->outId = $outId;
    }
    
        	
    private $groupTitle;
    
        /**
    * @return 组名称
    */
        public function getGroupTitle() {
        return $this->groupTitle;
    }
    
    /**
     * 设置组名称     
     * @param String $groupTitle     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setGroupTitle( $groupTitle) {
        $this->groupTitle = $groupTitle;
    }
    
        	
    private $groupCode;
    
        /**
    * @return 组编码
    */
        public function getGroupCode() {
        return $this->groupCode;
    }
    
    /**
     * 设置组编码     
     * @param String $groupCode     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setGroupCode( $groupCode) {
        $this->groupCode = $groupCode;
    }
    
        	
    private $groupDescLink;
    
        /**
    * @return 组描述链接
    */
        public function getGroupDescLink() {
        return $this->groupDescLink;
    }
    
    /**
     * 设置组描述链接     
     * @param String $groupDescLink     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setGroupDescLink( $groupDescLink) {
        $this->groupDescLink = $groupDescLink;
    }
    
        	
    private $tradeServiceList;
    
        /**
    * @return 服务信息
    */
        public function getTradeServiceList() {
        return $this->tradeServiceList;
    }
    
    /**
     * 设置服务信息     
     * @param array include @see ComAlibabaOceanOpenplatformBizTradeCommonModelTradeService[] $tradeServiceList     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setTradeServiceList(ComAlibabaOceanOpenplatformBizTradeCommonModelTradeService $tradeServiceList) {
        $this->tradeServiceList = $tradeServiceList;
    }
    
        	
    private $extraMapStr;
    
        /**
    * @return 扩展信息
    */
        public function getExtraMapStr() {
        return $this->extraMapStr;
    }
    
    /**
     * 设置扩展信息     
     * @param String $extraMapStr     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setExtraMapStr( $extraMapStr) {
        $this->extraMapStr = $extraMapStr;
    }
    
        	
    private $combinedPrice;
    
        /**
    * @return 合并价格
    */
        public function getCombinedPrice() {
        return $this->combinedPrice;
    }
    
    /**
     * 设置合并价格     
     * @param Long $combinedPrice     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setCombinedPrice( $combinedPrice) {
        $this->combinedPrice = $combinedPrice;
    }
    
        	
    private $showCombinedPrice;
    
        /**
    * @return 展示合并价格
    */
        public function getShowCombinedPrice() {
        return $this->showCombinedPrice;
    }
    
    /**
     * 设置展示合并价格     
     * @param String $showCombinedPrice     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setShowCombinedPrice( $showCombinedPrice) {
        $this->showCombinedPrice = $showCombinedPrice;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "outId", $this->stdResult )) {
    				$this->outId = $this->stdResult->{"outId"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupTitle", $this->stdResult )) {
    				$this->groupTitle = $this->stdResult->{"groupTitle"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupCode", $this->stdResult )) {
    				$this->groupCode = $this->stdResult->{"groupCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupDescLink", $this->stdResult )) {
    				$this->groupDescLink = $this->stdResult->{"groupDescLink"};
    			}
    			    		    				    			    			if (array_key_exists ( "tradeServiceList", $this->stdResult )) {
    			$tradeServiceListResult=$this->stdResult->{"tradeServiceList"};
    				$object = json_decode ( json_encode ( $tradeServiceListResult ), true );
					$this->tradeServiceList = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$ComAlibabaOceanOpenplatformBizTradeCommonModelTradeServiceResult=new ComAlibabaOceanOpenplatformBizTradeCommonModelTradeService();
						$ComAlibabaOceanOpenplatformBizTradeCommonModelTradeServiceResult->setArrayResult($arrayobject );
						$this->tradeServiceList [$i] = $ComAlibabaOceanOpenplatformBizTradeCommonModelTradeServiceResult;
					}
    			}
    			    		    				    			    			if (array_key_exists ( "extraMapStr", $this->stdResult )) {
    				$this->extraMapStr = $this->stdResult->{"extraMapStr"};
    			}
    			    		    				    			    			if (array_key_exists ( "combinedPrice", $this->stdResult )) {
    				$this->combinedPrice = $this->stdResult->{"combinedPrice"};
    			}
    			    		    				    			    			if (array_key_exists ( "showCombinedPrice", $this->stdResult )) {
    				$this->showCombinedPrice = $this->stdResult->{"showCombinedPrice"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "outId", $this->arrayResult )) {
    			$this->outId = $arrayResult['outId'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupTitle", $this->arrayResult )) {
    			$this->groupTitle = $arrayResult['groupTitle'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupCode", $this->arrayResult )) {
    			$this->groupCode = $arrayResult['groupCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupDescLink", $this->arrayResult )) {
    			$this->groupDescLink = $arrayResult['groupDescLink'];
    			}
    		    	    			    		    		if (array_key_exists ( "tradeServiceList", $this->arrayResult )) {
    		$tradeServiceListResult=$arrayResult['tradeServiceList'];
    			$this->tradeServiceList = new ComAlibabaOceanOpenplatformBizTradeCommonModelTradeService();
    			$this->tradeServiceList->setStdResult ( $tradeServiceListResult);
    		}
    		    	    			    		    			if (array_key_exists ( "extraMapStr", $this->arrayResult )) {
    			$this->extraMapStr = $arrayResult['extraMapStr'];
    			}
    		    	    			    		    			if (array_key_exists ( "combinedPrice", $this->arrayResult )) {
    			$this->combinedPrice = $arrayResult['combinedPrice'];
    			}
    		    	    			    		    			if (array_key_exists ( "showCombinedPrice", $this->arrayResult )) {
    			$this->showCombinedPrice = $arrayResult['showCombinedPrice'];
    			}
    		    	    		}
 
   
}
?>